//
//  PEFirmwareUpgradeModel.m
//  RuiHeAppApp
//
//  Created by Yan Chen on 2023/8/15.
//

#import "RHFirmwareModel.h"

@implementation RHFirmwareModel
-(void)setDescribe:(NSString *)describe{
    _describe = describe;
    NSDictionary *desDic =  [self.describe jsonStringToDictionary];
    if (desDic) {
       NSString *lanKey = [NSString localLanguageMapToParamLanguage];
        NSString *desContent = desDic[lanKey];
        _describe_lan = ValidNullDataToString(desContent, @"没有相关描述".rh_localized);
    }else{
        _describe_lan = @"没有相关描述".rh_localized;
    }
}
@end
